package sort;

import java.util.Random;

public class Test {
    public static void main(String[] args) {
        int[] array = new int[]{25,1,14,23,5,9,6,10,90,18,21,43,7,45};
        QuickSortIteration.quickSort(array);
        for(int x:array) {
            System.out.print(x+" ");
        }
    }
    public static void main1(String[] args) {
        //生成一个随机数组
        Random random = new Random();
        int[] array = new int[100_0000];
        for(int i = 0; i < array.length; i++) {
            array[i] = random.nextInt(1000);
        }
//        QuickSort.test2(array);
        QuickSort.test1(array);
//        QuickSort.test3(array);
        QuickSort.test4(array);
    }
}
